package com.blue.common.constant;

/**
 * @author nanjie.chen
 * Created on 2024/3/17
 */
public class CommonConstant {
    //数据有效标识(0-有效,1-无效)
    public static String YES = "0";
    public static String NO = "1";
    //0-升序，1-降序
    public static String ASC = "0";
    public static String DESC = "1";
    //状态（0-正常,1-禁用)
    public static String NORMAL = "0";
    public static String DISABLE = "1";
    //0-根目录
    public static String ROOT = "0";
    //类型(0:目录,1:菜单,2:按钮)
    public static String CATALOG = "0";
    public static String MENU = "1";
    public static String BUTTON = "2";
    //状态(0-执行中,1-成功,2-失败)
    public static String RUNNING = "0";
    public static String SUCCESS = "1";
    public static String FAIL = "2";
    //日期类型（0-每日,1-周一,2-月初)
    public static String DAILY = "0";
    public static String MONDAY = "1";
    public static String BEGIN_OF_MONTH = "2";
    //同步状态(0-同步成功,1-同步失败)
    public static String SYNC_SUCCESS = "0";
    public static String SYNC_FAIL = "1";
    //消息状态(0-未读,1-已读)
    public static String UNREAD = "0";
    public static String READ = "1";
    //消息类型(0-系统通知,1-普通消息,2-待办消息)
    public static String SYS_MESSAGE = "0";
    public static String MESSAGE = "1";
    public static String TODO = "2";
    //内容类型(0-文本,1-图片)
    public static String TEXT = "0";
    public static String IMG = "1";
    //流程节点类型(0-开始节点,1-审批节点,2-网关节点,3-条件节点,4-结束节点)
    public static String START_NODE = "0";
    public static String APPROVE_NODE = "1";
    public static String GATEWAY_NODE = "2";
    public static String CONDITION_NODE = "3";
    public static String END_NODE = "4";
    //流程节点处理人类型(0-user,1-role+dept,2-role,3-dept,4-leader,5-self)
    public static String USER = "0";
    public static String ROLE_DEPT = "1";
    public static String ROLE = "2";
    public static String DEPT = "3";
    public static String LEADER = "4";
    public static String SELF = "5";
    //实例状态(0-running,1-completed,2-rejected,3-back,4-revoked)
    public static String COMPLETED = "1";
    public static String REJECTED = "2";
    public static String BACK = "3";
    public static String REVOKED = "4";
    //任务状态(0-pending,1-approved,2-rejected,3-back,4-revoked,5-transfer,6-restart,7-canceled)
    public static String PENDING = "0";
    public static String APPROVED = "1";
    public static String TRANSFER = "5";
    public static String RESTART = "6";
    public static String CANCELED = "7";
    //审批状态(1-approved,2-rejected,3-back,4-revoked,5-transfer,6-addSign)
    public static String ADD_SIGN = "6";
    //流程任务实例类型(0-审批类型,1-转办类型,2-加签类型)
    public static String APPROVE_TYPE = "0";
    public static String TRANSFER_TYPE = "1";
    public static String ADD_SIGN_TYPE = "2";
    //退回策略(0-退回到第一节点/1-退回到上一节点)
    public static String BACK_FIRST = "0";
    public static String BACK_LAST = "1";
    //字段来源(0-审批数据,1-审批人信息)
    public static String DATA = "0";
    public static String APPROVER = "1";
    //条件字段类型(0-字符串,1-数字)
    public static String STRING = "0";
    public static String NUMBER = "1";
    //流程节点多人审批方式(0-或签,1-会签)
    public static String OR_SIGN = "0";
    public static String COUNTERSIGN = "1";
}
